package com.ryskoo.catering.producttag.service;

import com.ryskoo.catering.producttag.domain.ProductTagPO;
import com.ryskoo.catering.producttag.repository.IProductTagRepository;
import com.ryskoo.framework.core.service.BasicServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.PostConstruct;

@Service
@Transactional
public class ProductTagServiceImpl extends BasicServiceImpl<ProductTagPO> implements IProductTagService{

    @Autowired
    private IProductTagRepository productTagRepository;

    @PostConstruct
    public void init(){
        super.setDao(productTagRepository);
    }
}
